#!/bin/sh
cd /java/tomcat6/webapps
p=$(ps -ef | grep tomcat | grep java | awk '{print $2}')
if [ $p ]; then
	kill -9 $p
fi
rm -rf ./blogv4
rename  blogv4*.war blogv4.war blogv4*.war
nohup /java/tomcat6/bin/startup.sh